package com.axzhengxin.platform.statistics.mapper;

import com.axzhengxin.platform.business.domain.BizApplyInfo;
import com.axzhengxin.platform.statistics.domain.ProductSearch;
import com.axzhengxin.platform.statistics.domain.ProvinceStatistics;

import java.util.List;

/**
 * @author AHZJ0005
 */
public interface ProvinceStatisticsMapper {

    /**
     * 产品统计查询
     * @param productSearch
     * @return
     */
    List<ProvinceStatistics> productStatistics(ProductSearch productSearch);

    /**
     * 产品担保类型分析
     * @param productSearch
     * @return
     */
    List<ProvinceStatistics> productStatisticsGuaranteeType(ProductSearch productSearch);

    /**
     * 单一产品分析
     * @param productSearch
     * @return
     */
    List<ProvinceStatistics> productStatisticsByProduct(ProductSearch productSearch);

    /**
     * 产品分析 机构分析
     * @param productSearch
     * @return
     */
    List<ProvinceStatistics> productStatisticsByDept(ProductSearch productSearch);

    /**
     * 获取区域统计
     * @param  productSearch
     * @return
     */
    List<ProvinceStatistics> getNumericalStatementByArea(ProductSearch productSearch);

    /**
     * 获取渔区月度统计
     * @param productSearch
     * @return
     */
    List<ProvinceStatistics> getNumericalStatementByAreaMonth(ProductSearch productSearch);

    /**
     * 机构统计
     * @param productSearch
     * @return
     */
    List<ProvinceStatistics> getNumericalStatementByDept(ProductSearch productSearch);

    /**
     * 机构月度统计
     * @param productSearch
     * @return
     */
    List<ProvinceStatistics> getNumericalStatementByDeptYearAndMonth(ProductSearch productSearch);

    /**
     * 客户经理统计
     * @param productSearch
     * @return
     */
    List<ProvinceStatistics> getNumericalStatementByCustomer(ProductSearch productSearch);

    /**
     * 获取定长
     * @param deptId
     * @return
     */
    Integer getAncLength(Long deptId);
}
